Skip to content

fix(id): prepend the dropped-input notice to explorer output - #731

Closed
dezren39 wants to merge 1 commit into
mainfrom
sweep/id-explorer-dropped-input-notice
Closed

dezren39 wants to merge 1 commit into
mainfrom
sweep/id-explorer-dropped-input-notice

Conversation

@dezren39

@dezren39 dezren39 commented Oct 24, 2026 •

Copy link
Copy Markdown
Member

Follow-up to #720 (shared dropped-input counter) and #594 (visible dropped input).

The counter was shared with the session so the notice can fire; this wires it into the explorer path too: run_explorer now receives the shared counter, and the explorer's next output gets the pending dropped-input notice prepended (claimed count restored via fetch_add if the write fails — same reset-only-on-delivery rule as SshIo::send). Includes a unit test: prepends above threshold, stays quiet below it.

Provenance: this change was found as an uncommitted modification in the main clone's working tree (written against a pre-#720 base). The patch applies cleanly to current main. Not compile-verified locally — please let CI confirm; ping the repo sweeps chat if it needs a port.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

Recovered from a dirty working tree in the main clone during the
2026-10-24 cleanup. Builds on #720 (shared Arc dropped-input counter)
and #594 (visible dropped input): wires the counter into run_explorer
and prepends the pending notice to the explorer's next output,
restoring the count if the write fails. Adds a unit test for the
prepend + below-threshold quiet case.

Not compile-verified locally; CI to confirm.
@dezren39
dezren39 requested a review from a team as a code owner October 24, 2026 08:41
@coderabbitai

coderabbitai Bot commented Oct 24, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 33 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 157acbec-cd4a-49ed-b94d-88f2c9ed5ace
Commits

Reviewing files that changed from the base of the PR and between 5db6087 and 83ca614.

Files selected for processing: 1
  • pkgs/id/src/world_ssh.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@dezren39

Copy link
Copy Markdown
Member Author

Closing as obsolete: duplicate of #735 (identical diff); #735 merged instead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant